/**
 *消息类型Tab数据
 */

export const messageTypeTabList = {
    0: {
        // 1--合同，2--设计，3--施工，4--其他,为空则查所有
        src: "",
        name: "全部",
        type: "ALL",
        value: 0,
    },
    1: {
        src: "http://51-jzt-dev.oss-cn-hangzhou.aliyuncs.com/miniapp/msg-contract-icon.png",
        name: "合同",
        type: "CONTRACT",
        value: 1,
    },
    2: {
        src: "http://51-jzt-dev.oss-cn-hangzhou.aliyuncs.com/miniapp/msg-design-icon.png",
        name: "设计",
        type: "DESIGN",
        value: 2,
    },
    3: {
        src: "http://51-jzt-dev.oss-cn-hangzhou.aliyuncs.com/miniapp/msg-build-icon.png",
        name: "施工",
        type: "BUILD",
        value: 3,
    },
    4: {
        src: "http://51-jzt-dev.oss-cn-hangzhou.aliyuncs.com/miniapp/msg-other-icon.png",
        name: "其他",
        type: "OTHER",
        value: 4,
    },
};


// 消息类型，1--普通消息 2--查看可确认 3--查看可确认拒绝
export const messageTypeObj = {
    1: { full: "ORDINARY", label: "普通消息" },
    2: { full: "VIEWFORCONFIRMATION", label: "查看可确认" },
    3: { full: "VIEWTOCONFIRMREJECTION", label: "查看可确认拒绝" },
};
// 消息状态，1--未查看，2--已查看待确认，3--已确认，4--已同意，5--已拒绝，6--已撤回
export const messageStatusObj = {
    1: { full: "UNREAD", label: "未查看" },
    2: { full: "VIEWED_PENDING_CONFIRMATION", label: "待确认" },
    3: { full: "CONFIRMED", label: "已确认" },
    4: { full: "CONFIRMED", label: "已确认" },
    5: { full: "REJECTED", label: "已拒绝" },
    6: { full: "WITHDRAWN", label: "已撤回" },
};
